package org.github.manx98.jlibhac.ns;

import org.github.manx98.jlibhac.fssystem.NcaEncryptionType;

/**
 * @author Manx98
 * @version 1.0
 * @since 2022/10/5 15:26
 */
public enum UserAccountSwitchLockValue {
    Disable,
    Enable,
    Unknown;

    public static UserAccountSwitchLockValue valueOf(byte value) {
        for (UserAccountSwitchLockValue type : values()) {
            if (type.ordinal() == value) return type;
        }
        throw new IllegalArgumentException("Unknown UserAccountSwitchLockValue: " + value);
    }
}
